/**  
 * All rights Reserved, Designed By DHC
 * @Title:  XmlStructure.java   
 * @Package com.dhcc.DRGsHosp.core.domain   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: LiQingYang     
 * @date:   2017年4月26日 上午10:50:49   
 * @version V2.4.0 
 * @Copyright: 2017 DHC2013-2017. All rights reserved. 
 * 注意：本内容仅限于东华软件股份公司内部传阅，禁止外泄以及用于其他的商业目的
 */
package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**   
 * @ClassName:  XmlStructure   
 * @Description:TODO(这里用一句话描述这个类的作用)   
 * @author: LiQingYang 
 * @date:2017年4月26日 上午10:50:49   
 *     
 * @Copyright: 2017 DHC2013-2017, All rights reserved. 
 * 注意：本内容仅限于东华软件股份公司内部传阅，禁止外泄以及用于其他的商业目的 
 */
@Entity
@Table(name = "T_XmlStructure", schema = "DRGs")
public class XmlStructure extends KoalaLegacyEntity{
    
    private static final long serialVersionUID = 6165557133209999388L;

    @Id
    @Column(name = "node_Id", nullable = false)
    private String nodeId;
    
    @Column(name = "name")
    private String name;
    
    @Column(name = "node_level")
    private String level;
    
    @Column(name = "xpath")
    private String xpath;
    
    @Column(name = "data_type_code")
    private String dataTypeCode;
    
    @Column(name = "data_format_code")
    private String dataFormatCode;
    
    @Column(name = "pType")
    private String pType;
    
    @Column(name = "isSameNode")
    private String isSameNode;
    
    @Column(name = "parentId")
    private String parentId;
    
    @Column(name = "table_code")
    private String table;
    
    @Column(name = "table_name")
    private String tableName;
    
    @Column(name = "field_desc")
    private String fieldDesc;
    
    @Column(name = "field_code")
    private String fieldCode;

    @Column(name = "data_scale")
    private String dataScale;
    
    @Column(name = "MAP_POSITION")
    private String mapPosition;//费用字典映射位置
    
    @Column(name = "NP_NAME")
    private String npName;//节点或属性名称
    
    @Column(name = "PROPERTY_POSITION")
    private String propetyPosition;//属性的位置
    
    @Column(name = "VALUE_TYPE")
    private String valueType;//值类型
    
    @Column(name = "TEMPLATETYPE")
    private String templateType;//模版类型
    
    /**   
     * @Title:  XmlStructure   
     * @Description:    TODO(这里用一句话描述这个方法的作用)   
     * @param:    
     * @throws   
     */
    public XmlStructure() {
        super();
    }


    /**   
     * @Title:  XmlStructure   
     * @Description:    TODO(这里用一句话描述这个方法的作用)   
     * @param:  @param nodeId  
     * @throws   
     */
    public XmlStructure(String nodeId) {
        super();
        this.nodeId = nodeId;
    }


    /**  
     * @Title:  getId <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getNodeId() {
        return nodeId;
    }

    
    /**  
     * @Title:  setId <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    
    /**  
     * @Title:  getName <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getName() {
        return name;
    }

    
    /**  
     * @Title:  setName <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setName(String name) {
        this.name = name;
    }

    
    /**  
     * @Title:  getLevel <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getLevel() {
        return level;
    }

    
    /**  
     * @Title:  setLevel <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setLevel(String level) {
        this.level = level;
    }

    
    /**  
     * @Title:  getXpath <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getXpath() {
        return xpath;
    }

    
    /**  
     * @Title:  setXpath <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setXpath(String xpath) {
        this.xpath = xpath;
    }

    
    /**  
     * @Title:  getDataTypeCode <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getDataTypeCode() {
        return dataTypeCode;
    }

    
    /**  
     * @Title:  setDataTypeCode <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setDataTypeCode(String dataTypeCode) {
        this.dataTypeCode = dataTypeCode;
    }

    
    /**  
     * @Title:  getDataFormatCode <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getDataFormatCode() {
        return dataFormatCode;
    }

    
    /**  
     * @Title:  setDataFormatCode <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setDataFormatCode(String dataFormatCode) {
        this.dataFormatCode = dataFormatCode;
    }

    
    /**  
     * @Title:  getpType <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getpType() {
        return pType;
    }

    
    /**  
     * @Title:  setpType <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setpType(String pType) {
        this.pType = pType;
    }

    
    /**  
     * @Title:  getIsSameNode <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getIsSameNode() {
        return isSameNode;
    }

    
    /**  
     * @Title:  setIsSameNode <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setIsSameNode(String isSameNode) {
        this.isSameNode = isSameNode;
    }

    
    /**  
     * @Title:  getParentId <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getParentId() {
        return parentId;
    }

    
    /**  
     * @Title:  setParentId <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    
    /**  
     * @Title:  getTable <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getTable() {
        return table;
    }

    
    /**  
     * @Title:  setTable <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setTable(String table) {
        this.table = table;
    }

    
    /**  
     * @Title:  getTableName <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getTableName() {
        return tableName;
    }

    
    /**  
     * @Title:  setTableName <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    
    /**  
     * @Title:  getFieldDesc <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getFieldDesc() {
        return fieldDesc;
    }

    
    /**  
     * @Title:  setFieldDesc <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setFieldDesc(String fieldDesc) {
        this.fieldDesc = fieldDesc;
    }

    
    /**  
     * @Title:  getFieldCode <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getFieldCode() {
        return fieldCode;
    }

    
    /**  
     * @Title:  setFieldCode <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setFieldCode(String fieldCode) {
        this.fieldCode = fieldCode;
    }


    
    /**  
     * @Title:  getDataScale <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public String getDataScale() {
        return dataScale;
    }


    
    /**  
     * @Title:  setDataScale <BR>  
     * @Description: please write your description <BR>  
     * @return: String <BR>  
     */
    public void setDataScale(String dataScale) {
        this.dataScale = dataScale;
    }


	/**
	 * @return the mapPosition
	 */
	public String getMapPosition() {
		return mapPosition;
	}


	/**
	 * @param mapPosition the mapPosition to set
	 */
	public void setMapPosition(String mapPosition) {
		this.mapPosition = mapPosition;
	}


	/**
	 * @return the npName
	 */
	public String getNpName() {
		return npName;
	}


	/**
	 * @param npName the npName to set
	 */
	public void setNpName(String npName) {
		this.npName = npName;
	}


	/**
	 * @return the propetyPosition
	 */
	public String getPropetyPosition() {
		return propetyPosition;
	}


	/**
	 * @param propetyPosition the propetyPosition to set
	 */
	public void setPropetyPosition(String propetyPosition) {
		this.propetyPosition = propetyPosition;
	}


	/**
	 * @return the valueType
	 */
	public String getValueType() {
		return valueType;
	}


	/**
	 * @param valueType the valueType to set
	 */
	public void setValueType(String valueType) {
		this.valueType = valueType;
	}


	
	/**  
	 * templateType.  
	 *  
	 * return  the templateType   
	 */
	public String getTemplateType() {
		return templateType;
	}


	/**  
	 * templateType.  
	 *  
	 * param   templateType    the templateType to set   
	 */
	public void setTemplateType(String templateType) {
		this.templateType = templateType;
	}


	/**   
     * <p>Title: businessKeys</p>   
     * <p>Description: </p>   
     * @return   
     * @see org.openkoala.koala.commons.domain.KoalaBaseEntity#businessKeys()   
     */  
    @Override
    public String[] businessKeys() {
        // TODO Auto-generated method stub
        return null;
    }


    /**   
     * <p>Title: getId</p>   
     * <p>Description: </p>   
     * @return   
     * @see org.dayatang.domain.Entity#getId()   
     */  
    @Override
    public Serializable getId() {
        return nodeId;
    }
    
    
}
